project(
	'clipboard',
	'cpp',
	'c',
	version: '0.2.0',
	license: 'MIT',
	meson_version: '>=0.59.0',
	default_options: [
		'cpp_std=c++17',
		'c_std=c11',
		'warning_level=2',
		'werror=false',
	],
)

add_project_arguments( '-fPIC', language: ['cpp', 'c'])

dependency( 'pkg-config', required : true )
QtDeps  = dependency( 'qt5', modules: [ 'Core', 'Gui' ], private_headers: [ 'Gui' ] )
WayQt   = dependency( 'wayqt', required : true )
Wayland = dependency( 'wayland-client', required : true )

executable(
	'clipboard', [
		'Clipboard.cpp'
	],
	install : false,
	dependencies : [QtDeps, WayQt]
)
